<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <link type="text/css" rel="stylesheet" href="/Home/css/style.css" />   
  <script type="text/javascript" src="/Home/js/jquery-1.11.1.min_044d0927.js"></script>
  <script type="text/javascript" src="/Home/js/jquery.bxslider_e88acd1b.js"></script>
  
  <script type="text/javascript" src="/Home/js/jquery-1.8.2.min.js"></script>
  <script type="text/javascript" src="/Home/js/menu.js"></script>    
        
  <script type="text/javascript" src="/Home/js/select.js"></script>
    
  <script type="text/javascript" src="/Home/js/lrscroll.js"></script>
    
  <script type="text/javascript" src="/Home/js/iban.js"></script>
  <script type="text/javascript" src="/Home/js/fban.js"></script>
  <script type="text/javascript" src="/Home/js/f_ban.js"></script>
  <script type="text/javascript" src="/Home/js/mban.js"></script>
  <script type="text/javascript" src="/Home/js/bban.js"></script>
  <script type="text/javascript" src="/Home/js/hban.js"></script>
  <script type="text/javascript" src="/Home/js/tban.js"></script>
    
  <script type="text/javascript" src="/Home/js/lrscroll_1.js"></script>
    
<title>NBshop</title>
</head>
<body>  
<!--Begin Header Begin-->
<div class="soubg">
  <div class="sou">
        <span class="fr">
          <span class="fl">你好，请<a href="login">登录</a>&nbsp; <a href="regist" style="color:#ff4e00;">免费注册</a>&nbsp; </span>
            <span class="fl">|&nbsp;关注我们：</span>
            <span class="s_sh"><a href="#" class="sh1">新浪</a><a href="#" class="sh2">微信</a></span>
            <span class="fr">|&nbsp;<a href="#">手机版&nbsp;<img src="/Home/images/s_tel.png" align="absmiddle" /></a></span>
        </span>
    </div>
</div>
<!--End Header End--> 
<!--Begin Login Begin-->
<div class="log_bg">  
    <div class="top">
        <div class="logo"><a href="index"><img src="/Home/images/nb.png" / width="207px" height="55px"></a></div>
    </div>
  <div class="login">
      <div class="log_img"><img src="/Home/images/l_img.png" width="611" height="425" /></div>
    <div class="log_c">
          <form action="forget" method="post">
          {!! csrf_field() !!}
            <table border="0" style="width:370px; font-size:14px; margin-top:30px;" cellspacing="0" cellpadding="0">
              <tr height="50" valign="top">
                <td width="55">&nbsp;</td>
                <td>
                  <span class="fl" style="font-size:24px;">找回密码</span>
                    <span class="fr">还没有商城账号，<a href="regist" style="color:#ff4e00;">立即注册</a></span>
                </td>
              </tr>
              <tr height="70">
                <td>用户名</td>
                <td><input type="text" value="" class="l_user" name="user_name" id="user_name" /></td>
              </tr>
              <tr height="70">
                <td>手机号</td>
                <td><input type="text" value="" class="l_user" name="user_tel" id='user_tel' /></td>
              </tr>
              <tr height="70">
                <td>验证码&nbsp; &nbsp; </td>
                <td><input type="text" value="" class="l_pwd" name="code" placeholder='4位验证码'/>
                    <input type="button"  id="btn" value="发送验证码" >
                </td>
              </tr>

              <tr height="60">
                <td>&nbsp;</td>
                <td><input type="submit" value="找回密码" class="log_btn" /></td>
              </tr>
            </table>
            </form>
        </div>
    </div>
</div>
<!--End Login End--> 
<!--Begin Footer Begin-->
<div class="btmbg">
    <div class="btm">
        备案/许可证编号：蜀ICP备12009302号-1-www.dingguagua.com   Copyright © 2015-2018 尤洪商城网 All Rights Reserved. 复制必究 , Technical Support: Dgg Group <br />
        <img src="/Home/images/b_1.gif" width="98" height="33" /><img src="/Home/images/b_2.gif" width="98" height="33" /><img src="/Home/images/b_3.gif" width="98" height="33" /><img src="/Home/images/b_4.gif" width="98" height="33" /><img src="/Home/images/b_5.gif" width="98" height="33" /><img src="/Home/images/b_6.gif" width="98" height="33" />
    </div>      
</div>
<!--End Footer End -->    
</body>
</html>
<script type="text/javascript">
var wait=30;
function time(o){
  if (wait==0) {
   o.removeAttribute("disabled");   
   o.value="发送验证码";
   wait = 30;
  }else{ 
       o.setAttribute("disabled", true);
       o.value="重新发送("+ wait + ")";
       wait--;
       setTimeout(function(){time(o)},1000)
  }
}

$(document).on('click','#btn',function(){
  var user_name = $('#user_name').val();
  var user_tel = $('#user_tel').val();
  $.ajax({
        url:"yanzhengma/"+user_name+'/'+'user_tel/'+user_tel,
        type:'get',
        dataType:'json',
        success:function(msg){
            // alert('');
        }
  })

  time(this);

})

</script>
